﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using BlogEntity315.Data.Model;

namespace BlogEntity315.Data
{
    public class BlogDbContext : DbContext
    {
        public BlogDbContext()
            : base("Default315Connection")
        {

        }

        public DbSet<Blog> Blogs { get; set; }
        public DbSet<Article> Articles { get; set; }

    }
}
